import http from '../request'

export default {
  // 获取歌手列表
  async getSingerList({ area, sex, index, genre }) {
    return await http.get(`/singer/category?area=${area}&sex=${sex}&index=${index}&genre=${genre}`)
  },
  // 通过id获取歌手信息
  async getSingerHotsong({ id, limit, page }) {
    return await http.get(`/singer/songs?singermid=${id}&num=${limit}&page= ${page}`)
  },
  async getSingers({ area, sex, index, genre }) {
    return await http.get(`/singer/list?area=${area}&sex=${sex}&index=${index}&genre=${genre}`)
  }
}
